.files-container {
  padding: 24px;
  background: #f8fafc;
  min-height: calc(100vh - 64px);

  // 顶部工具栏
  .files-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 16px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);

    .toolbar-left {
      display: flex;
      align-items: center;
      gap: 16px;

      .view-switch {
        .el-radio-button__inner {
          border: none;
          padding: 8px 16px;
          border-radius: 8px;
          
          &:hover {
            color: var(--primary);
          }
          
          &.is-active {
            background: var(--primary-gradient);
            box-shadow: none;
          }
        }
      }

      .sort-dropdown {
        .el-dropdown-link {
          display: flex;
          align-items: center;
          gap: 4px;
          color: #606266;
          cursor: pointer;
          padding: 6px 12px;
          border-radius: 6px;
          transition: all 0.2s;

          &:hover {
            background: #f1f5f9;
          }
        }
      }
    }

    .toolbar-right {
      display: flex;
      gap: 12px;

      .el-button {
        border-radius: 8px;
        padding: 8px 20px;
        
        &--primary {
          background: var(--primary-gradient);
          border: none;
          
          &:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 200, 83, 0.2);
          }
        }
      }
    }
  }

  // 面包屑导航
  .files-breadcrumb {
    margin-bottom: 24px;
    padding: 0 12px;

    .el-breadcrumb__item {
      .el-breadcrumb__inner {
        color: #64748b;
        font-weight: normal;
        
        &.is-link:hover {
          color: var(--primary);
        }
      }

      &:last-child {
        .el-breadcrumb__inner {
          color: #334155;
          font-weight: 500;
        }
      }
    }
  }

  // 文件列表
  .files-list {
    background: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;

    .list-header {
      display: grid;
      grid-template-columns: 2fr 100px 160px 160px 120px;
      gap: 16px;
      padding: 12px 20px;
      background: #f8fafc;
      border-bottom: 1px solid rgba(67, 160, 71, 0.1);

      .header-cell {
        font-size: 13px;
        font-weight: 500;
        color: #64748b;
      }
    }

    .list-body {
      .list-item {
        display: grid;
        grid-template-columns: 2fr 100px 160px 160px 120px;
        gap: 16px;
        padding: 12px 20px;
        align-items: center;
        border-bottom: 1px solid #f1f5f9;
        transition: background-color 0.2s ease;
        cursor: pointer;

        &:hover {
          background: #f8fafc;
        }

        .cell {
          &.name {
            display: flex;
            align-items: center;
            gap: 12px;

            .el-icon {
              font-size: 20px;
              color: var(--primary);
            }

            span {
              font-weight: 500;
              color: #334155;
            }
          }

          &.type {
            .el-tag {
              padding: 4px 12px;
              border-radius: 20px;
              font-weight: 500;
              font-size: 12px;
              letter-spacing: 0.5px;
              border: none;
              background: rgba(67, 160, 71, 0.1);
              color: var(--primary);
            }
          }

          &.modified {
            font-size: 13px;
            color: #64748b;
          }

          &.collaborators {
            .avatar-group {
              display: flex;
              align-items: center;

              .el-avatar {
                width: 28px;
                height: 28px;
                border: 2px solid white;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
                margin-left: -8px;
                transition: all 0.2s ease;

                &:first-child {
                  margin-left: 0;
                }

                &:hover {
                  transform: translateY(-2px);
                  z-index: 1;
                }
              }

              .more-users {
                width: 28px;
                height: 28px;
                border-radius: 50%;
                background: #f1f5f9;
                border: 2px solid white;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 12px;
                color: #64748b;
                margin-left: -8px;
              }
            }
          }

          &.actions {
            .el-button-group {
              display: flex;
              gap: 4px;

              .el-button {
                width: 32px;
                height: 32px;
                border-radius: 8px;
                padding: 0;
                border: none;
                background: transparent;
                color: #64748b;
                transition: all 0.2s ease;

                &:hover {
                  background: var(--primary);
                  color: white;
                  transform: translateY(-2px);
                  box-shadow: 0 4px 12px rgba(67, 160, 71, 0.2);
                }

                .el-icon {
                  font-size: 16px;
                }
              }
            }
          }
        }
      }
    }
  }

  // 空状态
  .empty-state {
    padding: 60px;
    text-align: center;

    .empty-icon {
      font-size: 48px;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .empty-text {
      color: #64748b;
      margin-bottom: 24px;
    }

    .el-button {
      padding: 10px 24px;
      border-radius: 8px;
    }
  }
}

// 添加一些动画
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.files-list {
  animation: fadeIn 0.3s ease-out;
} 